package uhaleks.shape;

/**
 * Создан 05.07.2014
 */
public class Square implements Shape {
    private double width;
    public Square(double width) { this.width = width; }
    @Override
    public double area() {
        return width * width;
    }
}
